@media screen and (max-width: 1600px){
    .layout-sider:not(.ant-layout-sider-collapsed){
        flex: 0 0 200px !important;
        max-width: 200px !important;
        min-width: 200px !important;
        width: 200px !important;
    }
    .header-lift:not(.collapsed){
        width: 200px !important;
    }
}

@media screen and (max-width: 1440px){
    .layout-sider:not(.ant-layout-sider-collapsed){
        flex: 0 0 180px !important;
        max-width: 180px !important;
        min-width: 180px !important;
        width: 180px !important;
    }
    .header-lift:not(.collapsed){
        width: 180px !important;
    }
}

.pannel {
    width: 100%;
    min-width: 1360px;
    padding: 0 60px 30px 60px;
    display: flex;
    align-items: stretch;

    &-left {
        width: 290px;
        margin-right: 10px;
        flex-shrink: 0;
        display: flex;
        flex-direction: column;

        .nav-list {
            flex-grow: 1;
            background: #fff;
            margin-top: 10px;
            padding-top: 20px;
            padding-bottom: 30px;
        }
    }

    &-right {
        flex-grow: 1;
    }
}

.nav-first-item {
    .nav-first-label {
        font-size: 18px;
        color: #000;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-right: 30px;
        height: 32px;
        line-height: 32px;
        cursor: pointer;

        .line {
            display: block;
            width: 4px;
            height: 24px;
            background: #ffffff;
        }

        .name {
            padding-left: 18px;
            flex-grow: 1;
            text-align: left;
        }

        .first-icon {
            transition: all 0.3s;
        }

    }

    .nav-first-body {
        height: 0px;
        transition: 0.3s;
        overflow: hidden;
    }

    &.active {
        .line {
            background: #378EF0;
        }

        .first-icon {
            transform: rotateZ(90deg);
        }

        .nav-first-body {
            height: auto;
        }
    }

    .nav-second-item {
        margin: 10px 0;

        .nav-second-label {
            color: #666;
            font-size: 18px;
            cursor: pointer;
            position: relative;
            padding-left: 50px;
            text-align: left;

            img {
                margin-right: 8px;
                transition: all 0.3s;
                transform: rotateZ(0deg);
                position: absolute;
                left: 23px;
                top: 6px;
            }

        }

        .nav-second-body {
            height: 0px;
            transition: 0.3s;
            overflow: hidden;
        }

        &.active {
            .nav-second-label img {
                transform: rotateZ(90deg);
            }

            .nav-second-body {
                height: auto;
            }
        }

    }

    .nav-third {
        margin-left: 50px;
        padding-left: 20px;
        height: 42px;
        line-height: 42px;
        text-align: left;
        color: #666;
        font-size: 18px;
        cursor: pointer;

        &.active {
            background: #378EF0;
            color: #fff;
        }
    }
}

.layout-main .ant-menu.ant-menu-inline-collapsed>.ant-menu-item,
.layout-main .ant-menu.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title {
    padding: 0 calc(50% - 24px / 2);
}

.layout-main .ant-layout-sider-children>.ant-menu-inline>.ant-menu-item {
    height: 50px;
    line-height: 50px;
}

.list-box {
    background: #fff;
    padding: 30px;
}

.pannel-title {
    text-align: left;
    height: 22px;
    border-left: 2px solid #4687FF;
    display: flex;
    justify-content: left;
    align-items: flex-end;
    padding-left: 10px;

    &.pannel-between {
        justify-content: space-between;
    }

    >div {
        font-size: 18px;
        color: #333;
        font-weight: bold;
        line-height: 22px;
        margin-right: 10px;
    }

    >span {
        font-size: 12px;
        color: #999;
    }

    .pannel-btn {
        float: right;
        color: #fff;
        font-size: 12px;
    }
}

.filter-box {
    text-align: left;
    margin: 20px 0;

    .download-btn {
        width: 90px;
        height: 30px;
        border: 1px solid #CCCCCC;
        border-radius: 15px;
        line-height: 30px;
        text-align: center;

    }
}

.data-table {
    .ant-table-thead>tr>th {
        background: linear-gradient(0deg, #F3F3F3, #FFFFFF);
    }

    .ant-table-tbody>tr>td {
        border-bottom: none;
        border-right: none;
    }
    .ant-table-tbody>tr {
        &:hover >td{
            background-color: #016fff17 !important;
        }
    }
    .ant-table-thead>tr>th {
        border-right: none;
    }

    .ant-table-tbody>tr.ant-table-row {
        &:nth-child(odd) {
            td {
                background: #fff;
            }
        }

        &:nth-child(even) {
            td {
                background: #f8f8f8;
            }
        }
    }

    .ant-table-thead>tr>th,
    .ant-table-tbody>tr>td {
        padding: 8px 16px;
    }

}

.download-btn {
    float: right;
    width: 90px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border: 1px solid #cccccc;
    border-radius: 15px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;

    &:hover {
        background: #f1f2f3;
    }

    img {
        margin-right: 5px;
    }
}

.modal-title {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

.modal-form {
    margin: 10px auto;

    &-item {
        margin-bottom: 20px;
        display: flex;
        justify-content: center;
        align-items: flex-start;

        >label {
            width: 120px;
            text-align: right;
            line-height: 32px;
            padding-right: 10px;

            &.required {
                &:before {
                    content: "*";
                    color: red;
                }
            }
        }

        .modal-input {
            width: 240px;
        }
    }
}

.modal-btn {
    display: flex;
    justify-content: center;
    align-items: center;

    button {
        margin: 10px 20px !important;
    }
}

.input-invalid {
    box-shadow: 0px 0px 2px 1px rgba(255, 0, 0, 0.8);
}

.ant-menu.ant-menu-dark,
.ant-menu-dark .ant-menu-sub,
.ant-menu.ant-menu-dark .ant-menu-sub {
    background: #030B27;
}

.ant-menu-dark.ant-menu-dark:not(.ant-menu-horizontal) .ant-menu-item-selected {
    background: #030B27;
    position: relative;

    &:before {
        position: absolute;
        left: 0;
        top: 10%;
        width: 4px;
        height: 80%;
        content: "";
        background: #4687FF;
    }
}

.ant-menu-dark .ant-menu-item,
.ant-menu-dark .ant-menu-item-group-title,
.ant-menu-dark .ant-menu-item>a,
.ant-menu-dark .ant-menu-item>span>a {
    color: #fff;
}

.ant-menu.ant-menu-dark,
.ant-menu-dark .ant-menu-sub,
.ant-menu.ant-menu-dark .ant-menu-sub {
    color: #fff;
}

.ant-menu-dark .ant-menu-item-selected .ant-menu-item-icon+span,
.ant-menu-dark .ant-menu-item-selected .anticon+span {
    color: #4687FF;
}

.ant-form-horizontal .ant-form-item-label {
    flex: 0 0 auto;
    width: 125px;
    max-width: none;
}

.ant-tabs-bar{
    border-bottom: none;
}
.ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab{
    background: rgb(209, 225, 255);
    border-radius: 8px 8px 0px 0px;
    color: #fff;
    border: none;
    width: 84px;
    height: 40px;
    line-height: 40px;
    font-size: 14px;
    text-align: center;
    padding:0 5px;
    &:before{
        content: normal;
    }
}
.ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab-active{
    background: #4687FF;
    border-radius: 8px 8px 0px 0px;
    color: #fff;
    border: none;
    width: 84px;
    height: 40px;
    line-height: 40px;
    font-size: 14px;
    text-align: center;
    padding:0 5px;
    &:before{
        content: normal;
    }
}

